<!--增加班级模态框-->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">添加班级</h4>
            </div>
            <div class="modal-body">
                <!--定义表单-->
                <form class="form-horizontal" role="form" id="addForm" action="classAdd" method="post">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">班级</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入3位班级名称" name="className">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">年级</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入年级" name="grade">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">班主任名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入班主任名称" name="teacher">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">口号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入班级口号" name="slogan">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">班级人数</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入班级人数" name="number">
                        </div>
                    </div>
                    <!--定义按钮-->
                    <div class="modal-footer form-group">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="submit" class="btn btn-primary" id="add">新增</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>